package com.dao;

import java.sql.Date;
import java.util.List;

import javax.servlet.http.HttpSession;

import com.model.Agent;
import com.model.Group;

public interface GroupDao {
	public void add(String branch,Group group);

	public List<Group> getAll(int page);
	
	public Group get(Integer id);
	
	public void delete(Integer id);
	
	public List<Group> getByDate(Date from,Date to); 
		
	public int getNoOfRecords();
	
	public List getGroupName();
	
	public List<Group> getAllForUser(String name);
	public List<Group> getAllForAdmin();
}
